const express = require('express');
import { Router, Request, Response } from "express";
const homeRoute: Router = express.Router();

homeRoute.get('/index', (req: Request, res: Response) => {
  res.send('homeIndex');
});

homeRoute.get('/getParams', (req: Request, res: Response) => {
  res.send(req.query);
})
module.exports = homeRoute;